package com.xuecheng.content.mapper;

import com.xuecheng.content.dto.CourseCategoryTreeDto;
import com.xuecheng.content.entity.CourseCategory;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* @author lenovo
* @description 针对表【course_category(课程分类)】的数据库操作Mapper
* @createDate 2025-03-29 09:53:30
* @Entity com.xuecheng.content.entity.CourseCategory
*/
public interface CourseCategoryMapper extends BaseMapper<CourseCategory> {

    /**
     * 使用递归查询分类
     * @param id
     * @return
     */
    public List<CourseCategoryTreeDto> selectTreeNodes(String id);
}




